package net.begincode.searchCommon.enums;

/**
 * Created by 18241 on 2017/3/26.
 */
public enum CommonResponse implements ResponseEnum {
	SUCCESS("0","处理成功"),
	FAILED("1","系统异常")
   ;
	private String code;
	private String message;
	CommonResponse(String code,String message){
		this.code=code;
		this.message=message;
	}

	@Override
	public String getCode() {
		return code;
	}

	@Override
	public String getMessage() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
